package aip.core.model.user;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "CONTACTS")
public class Contacts implements Serializable
{
    private static final long serialVersionUID = 6887838147658957050L;
    private String id;
    /** 名称 */
    private String title;
    /** 联系人 */
    private String contactPerson;
    /** 联系电话 */
    private String telephone;
    /** 传真 */
    private String fax;
    /** 地址 */
    private String address;
    /** 邮编 */
    private String postCode;
    /** 邮箱 */
    private String mail;
    /** 热线 */
    private String hotLine;
    /** 网址 */
    private String web;
    /** 省份 */
    private String province;
    /** 备注 */
    private String remarks;
    /** 排序 */
    private int order;

    /**
     * @return the id
     */
    @Id
    @Column(name = "ID_")
    public String getId()
    {
        return id;
    }

    /**
     * @param id
     *        the id to set
     */
    public void setId(String id)
    {
        this.id = id;
    }

    /**
     * @return the title
     */
    @Column(name = "TITLE_")
    public String getTitle()
    {
        return title;
    }

    /**
     * @param title
     *        the title to set
     */
    public void setTitle(String title)
    {
        this.title = title;
    }

    /**
     * @return the contactPerson
     */
    @Column(name = "NAME_")
    public String getContactPerson()
    {
        return contactPerson;
    }

    /**
     * @param contactPerson
     *        the contactPerson to set
     */
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    /**
     * @return the telephone
     */
    @Column(name = "TEL_")
    public String getTelephone()
    {
        return telephone;
    }

    /**
     * @param telephone
     *        the telephone to set
     */
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    /**
     * @return the fax
     */
    @Column(name = "FAX_")
    public String getFax()
    {
        return fax;
    }

    /**
     * @param fax
     *        the fax to set
     */
    public void setFax(String fax)
    {
        this.fax = fax;
    }

    /**
     * @return the address
     */
    @Column(name = "ADD_")
    public String getAddress()
    {
        return address;
    }

    /**
     * @param address
     *        the address to set
     */
    public void setAddress(String address)
    {
        this.address = address;
    }

    /**
     * @return the postCode
     */
    @Column(name = "POST_CODE_")
    public String getPostCode()
    {
        return postCode;
    }

    /**
     * @param postCode
     *        the postCode to set
     */
    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    /**
     * @return the mail
     */
    @Column(name = "EMAIL_")
    public String getMail()
    {
        return mail;
    }

    /**
     * @param mail
     *        the mail to set
     */
    public void setMail(String mail)
    {
        this.mail = mail;
    }

    /**
     * @return the hotLine
     */
    @Column(name = "HOTLINE_")
    public String getHotLine()
    {
        return hotLine;
    }

    /**
     * @param hotLine
     *        the hotLine to set
     */
    public void setHotLine(String hotLine)
    {
        this.hotLine = hotLine;
    }

    /**
     * @return the web
     */
    @Column(name = "WEB_")
    public String getWeb()
    {
        return web;
    }

    /**
     * @param web
     *        the web to set
     */
    public void setWeb(String web)
    {
        this.web = web;
    }

    /**
     * @return the province
     */
    @Column(name = "PROVINCE_")
    public String getProvince()
    {
        return province;
    }

    /**
     * @param province the province to set
     */
    public void setProvince(String province)
    {
        this.province = province;
    }

    /**
     * @return the remarks
     */
    @Column(name = "REMARKS_")
    public String getRemarks()
    {
        return remarks;
    }

    /**
     * @param remarks
     *        the remarks to set
     */
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    /**
     * @return the order
     */
    @Column(name = "ORDER_")
    public int getOrder()
    {
        return order;
    }

    /**
     * @param order
     *        the order to set
     */
    public void setOrder(int order)
    {
        this.order = order;
    }
}
